<%= %w[hgvs chromosome start stop read variant reference_version gene mutation_type amino_acid diseases pubmed_sources].join("\t") %>
<% @variants.each do |variant| %>
<%=
  [
    variant.hgvs,
    variant.location.chromosome,
    variant.location.start,
    variant.location.stop,
    variant.location.reference_read,
    variant.variant,
    variant.location.reference_sequence_version,
    variant.gene.name,
    variant.mutation_type.name,
    variant.amino_acid.name,
    variant.disease_source_variants.map(&:disease).map(&:name).uniq.join(','),
    variant.disease_source_variants.map(&:source).map(&:pubmed_id).uniq.join(',')
  ].join("\t").html_safe
%>
<% end %>
